package com.mintingi.pattern.decorator;

/**
 * 커피에 들어갈 데코레이션 추상 클래스<br/>
 * 
 * @author mintingi
 *
 */
public abstract class CoffeeDecorator extends Coffee {
	
	protected final Coffee decorateCoffee;
	protected final String INGREDIENT_SEPARATOR = ", ";

	public CoffeeDecorator(Coffee decorateCoffee) {
		this.decorateCoffee = decorateCoffee;
	}
	
	@Override
	public double getCost() {
		return decorateCoffee.getCost();
	}

	@Override
	public String getIngredients() {
		return decorateCoffee.getIngredients();
	}

}
